-
-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WIP: Output type redacted event #3445
base: main
Are you sure you want to change the base?
Conversation
…an see when it is sent" This reverts commit 4c55d53.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me.
There is just one thing we should probably take care of as per this comment: The appservice consumer should ignore m.room.redaction
events if they come in through OutputTypeNewRoomEvent
. See this. (Though I don't know if that really matters for bridges/appservices, not aware of how they are handled by them.)
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #3445 +/- ##
==========================================
+ Coverage 49.36% 49.39% +0.03%
==========================================
Files 522 522
Lines 59465 59473 +8
==========================================
+ Hits 29353 29375 +22
+ Misses 26647 26639 -8
+ Partials 3465 3459 -6
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
OK great, I will look at the failing tests then and add one for this. I am not sure I understand your comment (or rather, understand the spec...) because I thought If we add a check for does that resolve it? |
I meant that we need this right before this line for this:
While we don't do anything with the DB in the appservice consumer, we simply forward the redacted event to the appservice/bridge. |
This patch enables appservices to receive Redaction events.
Pull Request Checklist
Signed-off-by:
Your Name <[email protected]>